package com.delong.dao.market;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.market.ScheduleContent;

public interface ScheduleContentMapper {

	void addElement(ScheduleContent element);

	List<ScheduleContent> selectList(@Param("schedule_id") int schedule_id, @Param("pageno") int pageno,
			@Param("limit") int limit);

	int selectListcount(@Param("schedule_id") int schedule_id);

	ScheduleContent selectElementById(int id);

	int changeElement(ScheduleContent element);
	List<Integer> selectElementByContent(String content);
	int changeStatus( @Param("id") int id);
}
